﻿<div>
    <ul id="leftMenu">
        <li class="k-state-active"><b>网站管理</b>
            <ul>
                <li><a href="/Admin/Page/">网页内容</a></li> 
                <li><a href="/Admin/Fun/">消息管理</a></li>
                <li><a href="/Admin/Fun/Meeting/">视频会议</a></li>
                <li><a href="/Admin/Fun/EmployeeList/">任职查询</a></li>
                @if (Phatent.Website.WebContext.CurrentContext.User.Identity.Name=="admin"){
                    <li><a href="/Admin/Page/WaitVisible">待审核</a></li>
                }
            </ul>
        </li>    
    </ul>
</div>

<script>
    $("#leftMenu").kendoPanelBar({
        expandMode: "single"
    });

    function LocatedMenu(main, sub) {
        var menu = $("#leftMenu").data("kendoPanelBar");
        var mm = $("#leftMenu li:contains('" + main + "')");
        //var sm = $("#leftMenu li ul li:contains('" + sub + "')");
        var sm = mm.find("ul li:contains('" + sub + "')");
        menu.select(sm);
        menu.expand(mm);
    }
</script>
